<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page pageEncoding="UTF-8" %>



<html>
<head>
    <meta http-equiv="Content-Language" content="zh-cn">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>管理人员-管理</title>
    <link rel="stylesheet" type="text/css" href="../css/style_admin.css">
</head>
<body>
<table cellspacing="1" cellpadding="4" width="100%"
       class="tableborder" id="table3">
        <tr>
            <td colspan="15" class="header">
                新闻管理
            </td>
        </tr>
        <tr>
            <td align="center" class="altbg1">
                <b>新闻标题</b>
            </td>
            <td align="center" class="altbg1">
                <b>新闻发布时间</b>
            </td>
            <td align="center" class="altbg1">
                <b>删除</b>
            </td>
        </tr>

        <tbody>
        <c:forEach var="xinwen" items="${xinwenList}">
            <tr>
                <td align="center" class="altbg2">
                        ${xinwen.title}
                </td>
                <td class="altbg2"  align="center">
                        ${xinwen.xdate}
                </td>
                <td class="altbg2" align="center">
                    <a href="/XinwenServlet?method=del&id=${xinwen.id}">删除</a>
                </td>
            </tr>
        </c:forEach>
        </tbody>

</table>
</body>
</html>